package dashboard

import (
	security_funcs "app/app_src/framework/security/funcs"
	dashboard_controller "app/app_src/modules/dashboard/controller"

	"github.com/gin-gonic/gin"
)

// 注册路由

func RegisterRoutes(router *gin.RouterGroup) {
	router.GET("/dashboard", security_funcs.RequireAuthed(dashboard_controller.Dashboard))
	router.POST("/dashboard/default", dashboard_controller.DashboardDefault)
	router.POST("/api/dashboard/listDashboardMenus", dashboard_controller.ListDashboardMenus)
}
